{template header}
<style type="text/css">
    td.nickname {text-overflow: ellipsis;width: 180px;}
    td.nickname p { display: inline-block; vertical-align: middle; width: 100px; margin-left: 5px; }
    td.nickname img { border-radius: 5px; border: 2px solid #fff; outline: 1px solid #ccc; }

    td:nth-child(2) {max-width: 100px; }

</style>
<div class="container-fluid">
    <div class="row-fluid">
        <div class=" tips hidden">
            <div class="alert">
                <button type="button" class="close" data-dismiss="alert">×</button>
                <h4>
                    提示!
                </h4>
            </div>
        </div>

        <div class="tab-content">
            <div class="tab-pane active" id="panel-158419">
                <div class="bs-docs-example" style="clear:both;">
                    <table class="table table-striped">
                        <thead>
                        <tr>
                            <th>发帖人</th>
                            <th>标题</th>
                            <th>版块</th>
                            <th>标签</th>
                            <th width="145">添加时间|最后更新</th>
                            <th>总评论</th>
                            <th>是否置顶</th>
                            <th>是否精华</th>
                            <th>是否推荐</th>
                            <th>图片总数</th>
                            <th>喜欢</th>
                            <th>{$hour}小时帖子</th>
                            <th>热度值</th>
                        </tr>
                        </thead>
                        <tbody>
                        {loop $postList $k $v}
                        <tr id = "cancleIgnorePost_{$v['news_id']}">
                            <td class="nickname">
                                <img width="50" src="{$v['header']}">
                                <p>{$v['nickname']}</p>
                            </td>
                            <td>{$v['title']}</td>
                            <td>{loop $v['board'] $kk $board}<div id="{$board['boardId']">{$board['boardName']}</div>{/loop}</td>
                            <td>{loop $v['tag'] $kk $tag}<div id="{$tag['tagId']}">{$tag['tagName']}</div>{/loop}</td>
                            <td>
                                {eval echo date('Y-m-d H:i:s', $v['add_time'])}<br>
                                {eval echo date('Y-m-d H:i:s', $v['lastupdate'])}
                            </td>
                            <td>{$v['total_comment']}</td>
                            <td>{$v['is_top']}</td>
                            <td>{$v['is_best']}</td>
                            <td>{$v['is_home_hot']}</td>
                            <td>{$v['imgCount']}</td>
                            <td>{$v['loves']}</td>
                            <td><span style="color:{if $v['weight']<0 }red {else} green {/if}">{$v['weight']}</span></td>
                            <td>{$v['hotNum']}</td>
                        </tr>
                        {/loop}
                        </tbody>
                    </table>
                </div>

            </div>
        </div>


    </div>

</div>

<!-- </form> -->
{template footer}
